#ifndef __TCPSERVER_H__
#define __TCPSERVER_H__

#include<string>
class IpAddressPort;
class Msg;
class TcpServer{
private:
  int lfd_;
public:
   TcpServer(const IpAddressPort);
   ~TcpServer();
   int Accept()const;
   int SendMsg(int cfd,const std::string );
   Msg RecvMsg(int cfd);
   int GetLfd()const;
};
#endif
